package datamining.miner.chain;

import java.util.Collection;


/** 
 * <p>
 * 创建于 2012-12-2 下午9:23:07
 * 
 * @author xujinghu (jinghuxu@nudt.edu.cn)
 * <br>
 * Copyright 2012 xujinghu
 * <br>
 * Lisence: Apache
 */
public interface Extender<ItemType> {

/**
* @param nodes
* @return an iterator over all children of the set of given nodes
* @throws UnsupportedOperationException
*             if not supported for the corresponding algorithm
*/
public Collection<SearchLatticeNode<ItemType>> getChildren(
	Collection<SearchLatticeNode<ItemType>> nodes)
	throws UnsupportedOperationException;

/**
* @param node
* @return an iterator over all children of the given node
* @throws UnsupportedOperationException
*             if not supported for the corresponding algorithm
*/
public Collection<SearchLatticeNode<ItemType>> getChildren(
	SearchLatticeNode<ItemType> node)
	throws UnsupportedOperationException;

}
